Installing and using packages
Problem
You want to do install and use a package.
Solution
If you are using a GUI for R, there is likely a menu-driven way of installing packages. This is how to do it from the command line:
install.packages('reshape')
In each new R session where you use the package, you will have to load it:
library(reshape)
If you use the package in a script, put this line in the script.
To update all your installed packages to the latest versions available:
update.packages()